package com.tanguy.user.bean;

import android.support.annotation.NonNull;

/**
 * Created by dab on 2017/11/14 0014 13:55
 */

public class ProvinceBean extends BopomofoSortable {

    /**
     * id : null
     * code : 130000
     * name : 河北省
     */

    private int id;
    private String code;
    private String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @NonNull
    @Override
    public String getSortableString() {
        return name == null ? "" : name;
    }
}
